{include_core file="lib/header.html" center="center" title="基本资料"}
{include_core file="lib/top_nav.html" }
      <div class="container">
        <div class="inner">
          <div class="con-top clearfix">
            {include_core file="lib/sidebar.html" crumbs_1="account" crumbs_2="user_info"}
            <div class="section-right personal-data">
              <div class="personal-image">
                <div class="top clearfix">
                  <h2>头像</h2>
                  <a href="{AnUrl('user/setting/edit_avatar')}" class="alter-btn">修改</a>
                </div>
                <div class="my-pic"><img src="{user_helper::avatar($user_info.id, 'big')}" width="180" height="180"></div>
              </div>
              <!--personal-image  end-->
              <div class="personal-infor">
                <div class="top clearfix">
                  <h2>基本信息</h2>
                  <a href="{AnUrl('user/setting/edit_user_info')}" class="alter-btn">修改</a>
                </div>
                <div class="base-infor">
                  <p><span class="name">用户名</span><span class="con">{if $user_info.user_name == ''} -- {else}{$user_info.user_name}{/if}</span></p>
                  <p><span class="name">用户ID</span><span class="con">{$user_info.id}</span></p>
                  <p><span class="name">真实姓名</span><span class="con">{if $user_info.realname == ''} -- {else}{$user_info.realname}{/if}</span></p>
                  <p><span class="name">昵称</span><span class="con">{if $user_info.nickname == ''} -- {else}{$user_info.nickname}{/if}</span></p>
                  <p><span class="name">性别</span><span class="con">{user_helper::get_user_gender($user_info.gender)}</span></p>
                  <p><span class="name">生日</span><span class="con">{if $user_info.birthday == '0000-00-00' || $user_info.birthday == ''} -- {else}{$user_info.birthday}{/if}</span></p>
                </div>
                </div>
              </div>
              <!--personal-infor  end-->
            </div>
            <!--personal-data  end-->
            
          </div>
          <!--con-top  end-->
        </div>
        <!--inner  end-->
      </div>
      <!--container  end-->
{include_core file="lib/footer.html"}